package com.cpp.pojo.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserUseDataVO {
    //开始日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime startDate;
    //结束日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime endDate;//endDate求日的时候不用填
    //总使用次数
    private Long totalUseCount;
    //使用次数列表
    private List<UserDataVO> data;

}
